package com.zhaoyu.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhaoyu.model.media.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * WmNewsMaterial(自媒体图文引用素材)
 */
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void saveRelationsByContent(@Param("materials") List<String> materials,@Param("newsId") Integer newsId,@Param("type") int type);

}